package red.book._1._2;

import edu.princeton.cs.introcs.StdOut;

/**
 * Input:
 * 12 31 2008
 * 
 * Output:
 * 12/31/2008
12/31/2008
 * @author wangbingwu
 *
 */
public class TestApiDate {
	
	public static void main(String[] args) {
		int m = Integer.parseInt(args[0]);
		int d = Integer.parseInt(args[1]);
		int y = Integer.parseInt(args[2]);
		
		Date date1 = new Date1(m, d, y);
		StdOut.println(date1);
		
		Date date2 = new Date2(m, d, y);
		StdOut.println(date2);
	}
}
